<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>parseInt</title>
    <script>
        alert("取整函数的使用");
        let number=prompt("请输入一个要取整的函数");
        number=parseInt(number);
        alert(number);
    </script>
</head>
<body>

</body>
</html>